package com.qujia.customer.service.impl;

import com.qujia.common.core.domain.entity.SysEnterprise;
import com.qujia.customer.domain.PayOrderCard;
import com.qujia.customer.mapper.CustomerEnterpriseMapper;
import com.qujia.customer.service.ICustomerStationEnterprisedService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CustomerStationEnterprisedServiceImpl implements ICustomerStationEnterprisedService {
    @Resource
    private CustomerEnterpriseMapper customerEnterpriseMapper;

    @Override
    public SysEnterprise getEnterpriseByStationId(Integer stationId) {
        return customerEnterpriseMapper.getEnterpriseByStationId(stationId);
    }

    @Override
    public PayOrderCard selectPayOrderByoOrderNo(String orderNo) {
       return customerEnterpriseMapper.selectPayOrderByoOrderNo(orderNo);
    }
}
